package com.sun.listener;

import java.awt.*;

/**
 * @Author Sun
 * @Date 2020/4/23 17:28
 * @Version 1.0
 */
public class GUITest  {
    public static void main(String[] args) {
        Frame frame = new Frame();
        frame.setBounds(666, 666, 666, 666);

        WinListner winListner = new WinListner();
        frame.addWindowListener(winListner);

        frame.setVisible(true);
    }
}
